<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>react-native-amap-geolocation</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="assets/js/search.js" data-base=".">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="index.html" class="title">react-native-amap-geolocation</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="globals.html">Globals</a>
				</li>
			</ul>
			<h1> react-native-amap-geolocation</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Enumerations</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-enum"><a href="enums/errorcodeandroid.html" class="tsd-kind-icon">Error<wbr>Code<wbr>Android</a></li>
								<li class="tsd-kind-enum"><a href="enums/errorcodeios.html" class="tsd-kind-icon">Error<wbr>CodeIOS</a></li>
								<li class="tsd-kind-enum"><a href="enums/geolanguage.html" class="tsd-kind-icon">Geo<wbr>Language</a></li>
								<li class="tsd-kind-enum"><a href="enums/gpsaccuracy.html" class="tsd-kind-icon">Gps<wbr>Accuracy</a></li>
								<li class="tsd-kind-enum"><a href="enums/locationmode.html" class="tsd-kind-icon">Location<wbr>Mode</a></li>
								<li class="tsd-kind-enum"><a href="enums/locationpurpose.html" class="tsd-kind-icon">Location<wbr>Purpose</a></li>
								<li class="tsd-kind-enum"><a href="enums/locationtype.html" class="tsd-kind-icon">Location<wbr>Type</a></li>
								<li class="tsd-kind-enum"><a href="enums/trustedlevel.html" class="tsd-kind-icon">Trusted<wbr>Level</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Classes</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-class"><a href="classes/geolocation.html" class="tsd-kind-icon">Geolocation</a></li>
								<li class="tsd-kind-class"><a href="classes/positionerror.html" class="tsd-kind-icon">Position<wbr>Error</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Interfaces</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-interface"><a href="interfaces/appkey.html" class="tsd-kind-icon">App<wbr>Key</a></li>
								<li class="tsd-kind-interface"><a href="interfaces/coordinates.html" class="tsd-kind-icon">Coordinates</a></li>
								<li class="tsd-kind-interface"><a href="interfaces/location.html" class="tsd-kind-icon">Location</a></li>
								<li class="tsd-kind-interface"><a href="interfaces/position.html" class="tsd-kind-icon">Position</a></li>
								<li class="tsd-kind-interface"><a href="interfaces/positionoptions.html" class="tsd-kind-icon">Position<wbr>Options</a></li>
								<li class="tsd-kind-interface"><a href="interfaces/regeocode.html" class="tsd-kind-icon">Re<wbr>Geocode</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Type aliases</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-type-alias"><a href="globals.html#errorcode" class="tsd-kind-icon">Error<wbr>Code</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Functions</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-function"><a href="globals.html#addlocationlistener" class="tsd-kind-icon">add<wbr>Location<wbr>Listener</a></li>
								<li class="tsd-kind-function"><a href="globals.html#init" class="tsd-kind-icon">init</a></li>
								<li class="tsd-kind-function"><a href="globals.html#isstarted" class="tsd-kind-icon">is<wbr>Started</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setallowsbackgroundlocationupdates" class="tsd-kind-icon">set<wbr>Allows<wbr>Background<wbr>Location<wbr>Updates</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setdesiredaccuracy" class="tsd-kind-icon">set<wbr>Desired<wbr>Accuracy</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setdistancefilter" class="tsd-kind-icon">set<wbr>Distance<wbr>Filter</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setgeolanguage" class="tsd-kind-icon">set<wbr>Geo<wbr>Language</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setgpsfirst" class="tsd-kind-icon">set<wbr>Gps<wbr>First</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setgpsfirsttimeout" class="tsd-kind-icon">set<wbr>Gps<wbr>First<wbr>Timeout</a></li>
								<li class="tsd-kind-function"><a href="globals.html#sethttptimeout" class="tsd-kind-icon">set<wbr>Http<wbr>Timeout</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setinterval" class="tsd-kind-icon">set<wbr>Interval</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setlocatingwithregeocode" class="tsd-kind-icon">set<wbr>Locating<wbr>With<wbr>ReGeocode</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setlocationcacheenable" class="tsd-kind-icon">set<wbr>Location<wbr>Cache<wbr>Enable</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setlocationmode" class="tsd-kind-icon">set<wbr>Location<wbr>Mode</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setlocationpurpose" class="tsd-kind-icon">set<wbr>Location<wbr>Purpose</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setlocationtimeout" class="tsd-kind-icon">set<wbr>Location<wbr>Timeout</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setmockenable" class="tsd-kind-icon">set<wbr>Mock<wbr>Enable</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setneedaddress" class="tsd-kind-icon">set<wbr>Need<wbr>Address</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setoncelocation" class="tsd-kind-icon">set<wbr>Once<wbr>Location</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setoncelocationlatest" class="tsd-kind-icon">set<wbr>Once<wbr>Location<wbr>Latest</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setopenalwaysscanwifi" class="tsd-kind-icon">set<wbr>Open<wbr>Always<wbr>Scan<wbr>Wifi</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setpauseslocationupdatesautomatically" class="tsd-kind-icon">set<wbr>Pauses<wbr>Location<wbr>Updates<wbr>Automatically</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setregeocodetimeout" class="tsd-kind-icon">set<wbr>ReGeocode<wbr>Timeout</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setsensorenable" class="tsd-kind-icon">set<wbr>Sensor<wbr>Enable</a></li>
								<li class="tsd-kind-function"><a href="globals.html#setwifiscan" class="tsd-kind-icon">set<wbr>Wifi<wbr>Scan</a></li>
								<li class="tsd-kind-function"><a href="globals.html#start" class="tsd-kind-icon">start</a></li>
								<li class="tsd-kind-function"><a href="globals.html#stop" class="tsd-kind-icon">stop</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Type aliases</h2>
				<section class="tsd-panel tsd-member tsd-kind-type-alias">
					<a name="errorcode" class="tsd-anchor"></a>
					<h3>Error<wbr>Code</h3>
					<div class="tsd-signature tsd-kind-icon">Error<wbr>Code<span class="tsd-signature-symbol">:</span> <a href="enums/errorcodeandroid.html" class="tsd-signature-type">ErrorCodeAndroid</a><span class="tsd-signature-symbol"> | </span><a href="enums/errorcodeios.html" class="tsd-signature-type">ErrorCodeIOS</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/types.ts#L172">types.ts:172</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Functions</h2>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="addlocationlistener" class="tsd-anchor"></a>
					<h3>add<wbr>Location<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Location<wbr>Listener<span class="tsd-signature-symbol">(</span>listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EmitterSubscription</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L21">index.ts:21</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>添加定位监听函数</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>listener: <span class="tsd-signature-type">function</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-siganture">
											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><a href="interfaces/location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol"> &amp; </span><a href="interfaces/regeocode.html" class="tsd-signature-type">ReGeocode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>location: <a href="interfaces/location.html" class="tsd-signature-type">Location</a><span class="tsd-signature-symbol"> &amp; </span><a href="interfaces/regeocode.html" class="tsd-signature-type">ReGeocode</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">EmitterSubscription</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="init" class="tsd-anchor"></a>
					<h3>init</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">init<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><a href="interfaces/appkey.html" class="tsd-signature-type">AppKey</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L12">index.ts:12</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>初始化 SDK</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>key: <a href="interfaces/appkey.html" class="tsd-signature-type">AppKey</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>高德开放平台应用 Key</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="isstarted" class="tsd-anchor"></a>
					<h3>is<wbr>Started</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Started<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L42">index.ts:42</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取当前是否正在定位的状态</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setallowsbackgroundlocationupdates" class="tsd-anchor"></a>
					<h3>set<wbr>Allows<wbr>Background<wbr>Location<wbr>Updates</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Allows<wbr>Background<wbr>Location<wbr>Updates<span class="tsd-signature-symbol">(</span>isAllow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L297">index.ts:297</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>是否允许后台定位</p>
								</div>
								<p>只在iOS 9.0 及之后起作用。
									设置为YES的时候必须保证 <code>Background Modes</code> 中的 <code>Location updates</code> 处于选中状态，否则会抛出异常。
								由于iOS系统限制，需要在定位未开始之前或定位停止之后，修改该属性的值才会有效果。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isAllow: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setdesiredaccuracy" class="tsd-anchor"></a>
					<h3>set<wbr>Desired<wbr>Accuracy</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Desired<wbr>Accuracy<span class="tsd-signature-symbol">(</span>desiredAccuracy<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L269">index.ts:269</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设定期望的定位精度（米）</p>
								</div>
								<p>默认为 <code>kCLLocationAccuracyBest</code>。
								定位服务会尽可能去获取满足 <code>desiredAccuracy</code> 的定位结果，但不保证一定会得到满足期望的结果。</p>
								<p>注意：设置为 <code>kCLLocationAccuracyBest</code> 或 <code>kCLLocationAccuracyBestForNavigation</code> 时，
								单次定位会在达到 <code>locationTimeout</code> 设定的时间后，将时间内获取到的最高精度的定位结果返回。</p>
								<dl class="tsd-comment-tags">
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>desiredAccuracy: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setdistancefilter" class="tsd-anchor"></a>
					<h3>set<wbr>Distance<wbr>Filter</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Distance<wbr>Filter<span class="tsd-signature-symbol">(</span>distance<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L252">index.ts:252</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设定定位的最小更新距离（米）</p>
								</div>
								<p>默认为 <code>kCLDistanceFilterNone</code>，表示只要检测到设备位置发生变化就会更新位置信息。</p>
								<dl class="tsd-comment-tags">
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>distance: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setgeolanguage" class="tsd-anchor"></a>
					<h3>set<wbr>Geo<wbr>Language</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Geo<wbr>Language<span class="tsd-signature-symbol">(</span>language<span class="tsd-signature-symbol">: </span><a href="enums/geolanguage.html" class="tsd-signature-type">GeoLanguage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L241">index.ts:241</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置逆地理信息的语言，目前支持中文和英文</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>GeoLanguage.DEFAULT</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>language: <a href="enums/geolanguage.html" class="tsd-signature-type">GeoLanguage</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setgpsfirst" class="tsd-anchor"></a>
					<h3>set<wbr>Gps<wbr>First</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Gps<wbr>First<span class="tsd-signature-symbol">(</span>isGpsFirst<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L201">index.ts:201</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置首次定位是否等待卫星定位结果</p>
								</div>
								<p>只有在单次定位高精度定位模式下有效，设置为 <code>true</code> 时，会等待卫星定位结果返回，
									最多等待 30 秒，若 30 秒后仍无卫星定位结果返回，返回网络定位结果。
								等待卫星定位结果返回的时间可以通过 <a href="globals.html#setgpsfirsttimeout">setGpsFirstTimeout</a> 进行设置。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isGpsFirst: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setgpsfirsttimeout" class="tsd-anchor"></a>
					<h3>set<wbr>Gps<wbr>First<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Gps<wbr>First<wbr>Timeout<span class="tsd-signature-symbol">(</span>timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L185">index.ts:185</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置优先返回卫星定位信息时等待卫星定位结果的超时时间（毫秒）</p>
								</div>
								<p>只有在 <code>setGpsFirst(true)</code> 时才有效。</p>
								<dl class="tsd-comment-tags">
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>timeout: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="sethttptimeout" class="tsd-anchor"></a>
					<h3>set<wbr>Http<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Http<wbr>Timeout<span class="tsd-signature-symbol">(</span>timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L172">index.ts:172</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置联网超时时间（毫秒）</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>30000</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>timeout: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setinterval" class="tsd-anchor"></a>
					<h3>set<wbr>Interval</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Interval<span class="tsd-signature-symbol">(</span>interval<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L52">index.ts:52</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置发起定位请求的时间间隔（毫秒），默认 2000，最小值为 1000</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>2000</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>interval: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setlocatingwithregeocode" class="tsd-anchor"></a>
					<h3>set<wbr>Locating<wbr>With<wbr>ReGeocode</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Locating<wbr>With<wbr>ReGeocode<span class="tsd-signature-symbol">(</span>withReGeocode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L339">index.ts:339</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>连续定位是否返回逆地理编码</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>withReGeocode: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setlocationcacheenable" class="tsd-anchor"></a>
					<h3>set<wbr>Location<wbr>Cache<wbr>Enable</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Location<wbr>Cache<wbr>Enable<span class="tsd-signature-symbol">(</span>enable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L160">index.ts:160</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否使用缓存策略</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>true</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>enable: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setlocationmode" class="tsd-anchor"></a>
					<h3>set<wbr>Location<wbr>Mode</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Location<wbr>Mode<span class="tsd-signature-symbol">(</span>mode<span class="tsd-signature-symbol">: </span><a href="enums/locationmode.html" class="tsd-signature-type">LocationMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L212">index.ts:212</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置定位模式</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>mode: <a href="enums/locationmode.html" class="tsd-signature-type">LocationMode</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setlocationpurpose" class="tsd-anchor"></a>
					<h3>set<wbr>Location<wbr>Purpose</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Location<wbr>Purpose<span class="tsd-signature-symbol">(</span>purpose<span class="tsd-signature-symbol">: </span><a href="enums/locationpurpose.html" class="tsd-signature-type">LocationPurpose</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L230">index.ts:230</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置定位场景</p>
								</div>
								<p>根据场景快速修改 option，不支持动态改变，修改后需要调用 <a href="globals.html#start">start</a> 使其生效，当不需要场景时，可以设置为 <code>null</code>。</p>
								<p>注意：不建议设置场景和自定义 option 混合使用。设置场景后，如果已经开始定位了，建议调用一次 <a href="globals.html#stop">stop</a>，然后主动调用一次 <a href="globals.html#start">start</a>
									以保证 option 正确生效。当主动设置的 option 和场景中的 option 有冲突时，以后设置的为准，比如：签到场景中默认的为单次定位，
									当主动设置 option 为连续定位时，如果先设置的场景，后改变的 option，这时如果不调用 <a href="globals.html#start">start</a> 不会变为连续定位，
								如果调用了 <a href="globals.html#start">start</a> 则会变为连续定位，如果先改变 option，后设置场景为签到场景，则会变为单次定位。</p>
								<dl class="tsd-comment-tags">
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>purpose: <a href="enums/locationpurpose.html" class="tsd-signature-type">LocationPurpose</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setlocationtimeout" class="tsd-anchor"></a>
					<h3>set<wbr>Location<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Location<wbr>Timeout<span class="tsd-signature-symbol">(</span>timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L313">index.ts:313</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>指定单次定位超时时间（秒）</p>
								</div>
								<p>最小值是 2s。注意在单次定位请求前设置。</p>
								<p>注意: 单次定位超时时间从确定了定位权限（非 <code>kCLAuthorizationStatusNotDetermined</code> 状态）后开始计算。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>10</p>
									</dd>
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>timeout: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setmockenable" class="tsd-anchor"></a>
					<h3>set<wbr>Mock<wbr>Enable</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Mock<wbr>Enable<span class="tsd-signature-symbol">(</span>enable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L148">index.ts:148</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否允许模拟位置</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>true</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>enable: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setneedaddress" class="tsd-anchor"></a>
					<h3>set<wbr>Need<wbr>Address</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Need<wbr>Address<span class="tsd-signature-symbol">(</span>isNeedAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L136">index.ts:136</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否返回地址信息，默认返回地址信息</p>
								</div>
								<p>GPS 定位时也可以返回地址信息，但需要网络通畅，第一次有可能没有地址信息返回。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>true</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isNeedAddress: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setoncelocation" class="tsd-anchor"></a>
					<h3>set<wbr>Once<wbr>Location</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Once<wbr>Location<span class="tsd-signature-symbol">(</span>isOnceLocation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L64">index.ts:64</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否单次定位</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isOnceLocation: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setoncelocationlatest" class="tsd-anchor"></a>
					<h3>set<wbr>Once<wbr>Location<wbr>Latest</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Once<wbr>Location<wbr>Latest<span class="tsd-signature-symbol">(</span>isOnceLocationLatest<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L122">index.ts:122</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置定位是否等待 WiFi 列表刷新</p>
								</div>
								<p>定位精度会更高，但是定位速度会变慢 1-3 秒，
								当设置为 <code>true</code> 时，连续定位会自动变为单次定位。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isOnceLocationLatest: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setopenalwaysscanwifi" class="tsd-anchor"></a>
					<h3>set<wbr>Open<wbr>Always<wbr>Scan<wbr>Wifi</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Open<wbr>Always<wbr>Scan<wbr>Wifi<span class="tsd-signature-symbol">(</span>isOpen<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L107">index.ts:107</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否开启wifi始终扫描</p>
								</div>
								<p>只有设置了 <code>android.permission.WRITE_SECURE_SETTINGS</code> 权限后才会开启。
									开启后，即使关闭 wifi 开关的情况下也会扫描 wifi。
								此方法为静态方法，设置一次后其他定位 client 也会生效。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>true</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isOpen: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setpauseslocationupdatesautomatically" class="tsd-anchor"></a>
					<h3>set<wbr>Pauses<wbr>Location<wbr>Updates<wbr>Automatically</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Pauses<wbr>Location<wbr>Updates<wbr>Automatically<span class="tsd-signature-symbol">(</span>isPause<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L281">index.ts:281</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>指定定位是否会被系统自动暂停</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isPause: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setregeocodetimeout" class="tsd-anchor"></a>
					<h3>set<wbr>ReGeocode<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>ReGeocode<wbr>Timeout<span class="tsd-signature-symbol">(</span>timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L327">index.ts:327</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>指定单次定位逆地理超时时间（秒）</p>
								</div>
								<p>最小值是 2s。注意在单次定位请求前设置。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>5</p>
									</dd>
									<dt>platform</dt>
									<dd><p>ios</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>timeout: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setsensorenable" class="tsd-anchor"></a>
					<h3>set<wbr>Sensor<wbr>Enable</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Sensor<wbr>Enable<span class="tsd-signature-symbol">(</span>enable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L91">index.ts:91</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否使用设备传感器</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>false</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>enable: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="setwifiscan" class="tsd-anchor"></a>
					<h3>set<wbr>Wifi<wbr>Scan</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Wifi<wbr>Scan<span class="tsd-signature-symbol">(</span>isWifiScan<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L79">index.ts:79</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置是否允许调用 WiFi 刷新</p>
								</div>
								<p>当设置为 <code>false</code> 时会停止主动调用 wifi 刷新，将会极大程度影响定位精度，
								但可以有效的降低定位耗电。</p>
								<dl class="tsd-comment-tags">
									<dt>default</dt>
									<dd><p>true</p>
									</dd>
									<dt>platform</dt>
									<dd><p>android</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isWifiScan: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="start" class="tsd-anchor"></a>
					<h3>start</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L28">index.ts:28</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>开始持续定位</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function">
					<a name="stop" class="tsd-anchor"></a>
					<h3>stop</h3>
					<ul class="tsd-signatures tsd-kind-function">
						<li class="tsd-signature tsd-kind-icon">stop<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/qiuxiang/react-native-amap-geolocation/blob/aa233ff/src/index.ts#L35">index.ts:35</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>停止持续定位</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals current ">
						<a href="globals.html"><em>Globals</em></a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-enum">
						<a href="enums/errorcodeandroid.html" class="tsd-kind-icon">Error<wbr>Code<wbr>Android</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/errorcodeios.html" class="tsd-kind-icon">Error<wbr>CodeIOS</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/geolanguage.html" class="tsd-kind-icon">Geo<wbr>Language</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/gpsaccuracy.html" class="tsd-kind-icon">Gps<wbr>Accuracy</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/locationmode.html" class="tsd-kind-icon">Location<wbr>Mode</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/locationpurpose.html" class="tsd-kind-icon">Location<wbr>Purpose</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/locationtype.html" class="tsd-kind-icon">Location<wbr>Type</a>
					</li>
					<li class=" tsd-kind-enum">
						<a href="enums/trustedlevel.html" class="tsd-kind-icon">Trusted<wbr>Level</a>
					</li>
					<li class=" tsd-kind-class">
						<a href="classes/geolocation.html" class="tsd-kind-icon">Geolocation</a>
					</li>
					<li class=" tsd-kind-class">
						<a href="classes/positionerror.html" class="tsd-kind-icon">Position<wbr>Error</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/appkey.html" class="tsd-kind-icon">App<wbr>Key</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/coordinates.html" class="tsd-kind-icon">Coordinates</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/location.html" class="tsd-kind-icon">Location</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/position.html" class="tsd-kind-icon">Position</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/positionoptions.html" class="tsd-kind-icon">Position<wbr>Options</a>
					</li>
					<li class=" tsd-kind-interface">
						<a href="interfaces/regeocode.html" class="tsd-kind-icon">Re<wbr>Geocode</a>
					</li>
					<li class=" tsd-kind-type-alias">
						<a href="globals.html#errorcode" class="tsd-kind-icon">Error<wbr>Code</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#addlocationlistener" class="tsd-kind-icon">add<wbr>Location<wbr>Listener</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#init" class="tsd-kind-icon">init</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#isstarted" class="tsd-kind-icon">is<wbr>Started</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setallowsbackgroundlocationupdates" class="tsd-kind-icon">set<wbr>Allows<wbr>Background<wbr>Location<wbr>Updates</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setdesiredaccuracy" class="tsd-kind-icon">set<wbr>Desired<wbr>Accuracy</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setdistancefilter" class="tsd-kind-icon">set<wbr>Distance<wbr>Filter</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setgeolanguage" class="tsd-kind-icon">set<wbr>Geo<wbr>Language</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setgpsfirst" class="tsd-kind-icon">set<wbr>Gps<wbr>First</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setgpsfirsttimeout" class="tsd-kind-icon">set<wbr>Gps<wbr>First<wbr>Timeout</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#sethttptimeout" class="tsd-kind-icon">set<wbr>Http<wbr>Timeout</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setinterval" class="tsd-kind-icon">set<wbr>Interval</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setlocatingwithregeocode" class="tsd-kind-icon">set<wbr>Locating<wbr>With<wbr>ReGeocode</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setlocationcacheenable" class="tsd-kind-icon">set<wbr>Location<wbr>Cache<wbr>Enable</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setlocationmode" class="tsd-kind-icon">set<wbr>Location<wbr>Mode</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setlocationpurpose" class="tsd-kind-icon">set<wbr>Location<wbr>Purpose</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setlocationtimeout" class="tsd-kind-icon">set<wbr>Location<wbr>Timeout</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setmockenable" class="tsd-kind-icon">set<wbr>Mock<wbr>Enable</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setneedaddress" class="tsd-kind-icon">set<wbr>Need<wbr>Address</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setoncelocation" class="tsd-kind-icon">set<wbr>Once<wbr>Location</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setoncelocationlatest" class="tsd-kind-icon">set<wbr>Once<wbr>Location<wbr>Latest</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setopenalwaysscanwifi" class="tsd-kind-icon">set<wbr>Open<wbr>Always<wbr>Scan<wbr>Wifi</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setpauseslocationupdatesautomatically" class="tsd-kind-icon">set<wbr>Pauses<wbr>Location<wbr>Updates<wbr>Automatically</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setregeocodetimeout" class="tsd-kind-icon">set<wbr>ReGeocode<wbr>Timeout</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setsensorenable" class="tsd-kind-icon">set<wbr>Sensor<wbr>Enable</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#setwifiscan" class="tsd-kind-icon">set<wbr>Wifi<wbr>Scan</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#start" class="tsd-kind-icon">start</a>
					</li>
					<li class=" tsd-kind-function">
						<a href="globals.html#stop" class="tsd-kind-icon">stop</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="assets/js/search.js"><' + '/script>');</script>
</body>
</html>